<?php
/**
 * html documentation page object, to be used within webappkit admin
 *
 * This file is part of Webappkit, a packages system for PHP web apps
 * @link http://webappkit.net
 * @package webappkit
 * @subpackage admin
 * @author J.Ducastel <nospam0@ducastel.name>
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 */
class WakHtmlDocPage extends WakTextFile implements iWakDocPage {

    /**
     *
     * @return string
     */
    public function getPageLabel() {
        return str_replace('_',' ',substr($this->getpageid(),0,-5));
    }

    public function getPageId() {
        return $this->basename();
    }

    public function getPageContent() {
        return $this->getContent();
    }
}